package com.zxw.service.impl;

import com.aaa.entity.BBusinessInfo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zxw.dao.BBusinessInfoMapper;
import com.zxw.service.BBusinessInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：zxw
 * @date ：Created in 2023/2/27 20:14
 */
@SuppressWarnings("all")
@Service
public class BBusinessInfoServiceImpl extends ServiceImpl<BBusinessInfoMapper, BBusinessInfo> implements BBusinessInfoService {
    @Autowired
    private BBusinessInfoMapper bBusinessInfoMapper;


    @Override
    public Result findAllBusinessInfo() {
        QueryWrapper queryWrapper = new QueryWrapper();
        List<BBusinessInfo> bBusinessInfos = bBusinessInfoMapper.selectList(queryWrapper);
        return new Result<>(2000,"查询成功",bBusinessInfos);
    }
}
